package io.renren.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.sys.entity.JxCourseScheduleEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 课程表
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2021-10-16 13:42:19
 */
public interface JxCourseScheduleService extends IService<JxCourseScheduleEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<JxCourseScheduleEntity>  getListByPo(Map<String, Object> params);

    List<JxCourseScheduleEntity>  getList(Map<String, Object> params);

    /**
     * 验证有效的开始 时间
     * @param begainTime
     * @return
     */
    String  ValidatorBegainTime(Date begainTime);

    String  ValidatorTimeStage(Date begainTime,Date  endTime,JxCourseScheduleEntity jxCourseSchedule);

    PageUtils  getAllWithPage(Map<String, Object> params);
}

